package com.zjitc.dao;
import java.sql.SQLException;
import org.springframework.stereotype.Repository;
import com.zjitc.exception.MyException;
@Repository
public class TestExceptionDao {
	public void daodb() throws Exception {
		throw new SQLException("Dao中数据库异常");
	}
	public void daomy() throws Exception {
		throw new MyException("Dao中自定义异常");
	}
	public void daono() throws Exception {
		throw new Exception("Dao中未知异常");
	}
}
